package hr;

import hr.utils.CommonUtils;

public class SysTime {
    public static void main(String[] args) {
        // for (int i = 0; i < 10; i++) {
        //     System.out.println(System.currentTimeMillis());
        // }
        System.out.println(System.currentTimeMillis());
        System.out.println(CommonUtils.convertTimestampToYMDAndTime(System.currentTimeMillis()));
        System.out.println(CommonUtils.convertYMDDateToTimestamp("2024-01-01"));
        Long[] var = {
                1703859488947L,
                1703918164609L,
                1703930088578L,
                1703930197510L,
                1703930214325L,
                1703930244039L,
                1703933717998L,
                1704101840773L
        };
        for (long s : var) {
            System.out.println(CommonUtils.convertTimestampToYMDAndTime(s));
        }

    }
}
